﻿using Ipmce.RemoteVoting.Backend.DataAccess;

namespace Ipmce.RemoteVoting.Backend.VotingService.Utils
{
	class VoterRepositoryDisposable : VoterRepository, IVoterRepositoryDisposable
	{
		private readonly RemoteVotingContext _context;

		public VoterRepositoryDisposable(RemoteVotingContext context)
			: base(context)
		{
			_context = context;
		}

		public void Dispose()
		{
			_context.Dispose();
		}
	}
}